<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html>
<head>
<title>添加会员</title>
<%@ include file="../../../common/admin_taglib.jsp" %>
<link rel="stylesheet" type="text/css" href="${ctx}/resources/js/jquery-easyui-1.3.3/themes/bootstrap/easyui.css">
<link rel="stylesheet" type="text/css" href="${ctx}/resources/js/jquery-easyui-1.3.3/themes/icon.css">
<link rel="stylesheet" type="text/css" href="${ctx}/resources/js/jquery-easyui-portal/portal.css">
<script type="text/javascript" src="${ctx}/resources/js/jquery-easyui-1.3.3/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${ctx}/resources/js/jquery-easyui-1.3.3/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="${ctx}/resources/js/jquery-easyui-portal/jquery.portal.js"></script>
</head>
<body>
<h1 class="page-title">Shop4j 管理中心</h1>
<ul class="breadcrumb">
	 <li><a href="${ctx}/admin/main">管理中心</a><span class="divider">/</span></li>
     <li class="active">编辑会员</li>
</ul>
	<div class="btn-toolbar">
    	<button class="btn btn-primary" onclick="$('#addForm').submit();"><i class="icon-ok"></i> 保存</button>
    	<input class="btn" value="重置" type="reset"/>
  		<div class="btn-group"></div>
	</div>
		<ul class="nav nav-tabs">
	      <li class="active"><a href="#member" data-toggle="tab">会员信息</a></li>
	    </ul>
	    <form method="post" id="addForm">
	    	<input type="hidden" name="memberInfo.id" value="${member.id}"/>
	    <dd:token></dd:token> 
	    <div id="myTabContent" class="tab-content">
	    	<div id="member" class="tab-pane active in">
	    		<label>会员名称</label>
        		<input type="text" name="memberInfo.username" value="${member.username}" class="input-xxlarge validate" validate="empty">
        		<label>密码</label>
        		<input type="password" name="memberInfo.password" value="${member.password}" class="input-xxlarge validate" validate="empty">
        		<label>E-Mail地址</label>
        		<input type="text" name="memberInfo.mail" value="${member.mail}" class="input-xxlarge validate" validate="empty">
        		<label>电话</label>
        		<input type="text" name="memberInfo.telphone" value="${member.telphone}" class="input-xxlarge validate" validate="empty">
        		<label>状态</label>
        		<select name="memberInfo.status" class="span2">
	        		<option value="">-请选择-</option>
	        	</select>
	    	</div>
	    </div>
	    </form>
</body>
</html>